<script setup lang="ts">
import Channel from './components/Channel.vue'
import NewsList from './components/NewsList.vue'

// 整体导入
import useStore from './store'
// 解构出我们需要的
const { channelStore } = useStore()
channelStore.getChannel()
</script>

<template>
  <Channel></Channel>
  <NewsList></NewsList>
</template>

<style></style>